build(deps): bump flutter_lints from 4.0.0 to 6.0.0#20
Conversation
Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 4.0.0 to 6.0.0. - [Commits](https://github.com/flutter/packages/commits/flutter_lints-v6.0.0/packages) --- updated-dependencies: - dependency-name: flutter_lints dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughWalkthroughThis pull request updates the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pubspec.yaml`:
- Line 25: The SDK constraint in pubspec.yaml under the environment.sdk entry is
too low for flutter_lints 6.0.0; update the environment.sdk constraint from
">=3.0.0" (or the current value) to at least ">=3.8.0 <4.0.0" so the Dart SDK
requirement matches flutter_lints 6.0.0 and resolves the conflict.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: dd61f224-e351-4527-81fe-951a7137ca6b
⛔ Files ignored due to path filters (1)
pubspec.lockis excluded by!**/*.lock
📒 Files selected for processing (1)
pubspec.yaml
| flutter_test: | ||
| sdk: flutter | ||
| flutter_lints: ^4.0.0 | ||
| flutter_lints: ^6.0.0 |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
What are the Dart SDK and Flutter SDK constraints for flutter_lints version 6.0.0 on pub.dev, and do they exceed Dart >=3.0.0?
💡 Result:
The Dart SDK constraint for flutter_lints version 6.0.0 is ^3.8.0 [1][2]. There is no explicit Flutter SDK constraint specified in the pubspec.yaml environment section, as it is a lint package without a flutter dependency [1]. The changelog notes an update to the minimum supported SDK version to Flutter 3.32/Dart 3.8 [3]. Yes, the Dart SDK constraint ^3.8.0 exceeds Dart >=3.0.0, since Dart 3.8.0 is greater than 3.0.0.
Citations:
- 1: https://chromium.googlesource.com/external/github.com/flutter/packages/+/refs/tags/flutter_lints-v6.0.0/packages/flutter_lints/pubspec.yaml
- 2: https://chromium.googlesource.com/external/github.com/flutter/packages/+/refs/tags/flutter_lints-v6.0.0%5E%21/
- 3: https://github.com/flutter/packages/blob/main/packages/flutter_lints/CHANGELOG.md
Update Dart SDK constraint to be compatible with flutter_lints 6.0.0.
flutter_lints 6.0.0 requires Dart SDK ^3.8.0, but the project's environment.sdk (Line 8) is set to >=3.0.0, creating an unresolvable dependency conflict. Update Line 8 to at least >=3.8.0 <4.0.0.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@pubspec.yaml` at line 25, The SDK constraint in pubspec.yaml under the
environment.sdk entry is too low for flutter_lints 6.0.0; update the
environment.sdk constraint from ">=3.0.0" (or the current value) to at least
">=3.8.0 <4.0.0" so the Dart SDK requirement matches flutter_lints 6.0.0 and
resolves the conflict.
Bumps flutter_lints from 4.0.0 to 6.0.0.
Commits
6eebe72[flutter_lints] Bump lints dependency to 6.0.0 and bump package to 6.0.0 (#9108)0093e2e[video_player_android] Add note about Android platform views known issue (#9312)62f38a1[camera_android_camerax] ImplementenableAudiofor video recording (#9264)9c11e9b[video_player_android] isBuffering flag always return true after calling seek...6efa04b[camera,video_player] replace onSurfaceDestroyed with onSurfaceCleanup (#9316)c33fa39[camera,video_player] Update Android to 3.29 minimum (#9317)5a7d40fUpdate repo for 3.32 stable (#9311)2a847d7[camera_avfoundation] Correct pigeon configuration output paths (#9313)d692e43[process] Remove from the repository (#9310)fe5dd86Ensure Example Packages Work on Android API 36 (#9241)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by CodeRabbit